package com.hanlin.backend.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author hl.yuan
 * @since 2021-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "HlAuthority对象", description = "权限表")
public class HlAuthority extends EntityBase implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "父级ID")
    private Integer parentId;

    @ApiModelProperty(value = "菜单url地址")
    private String url;

    @ApiModelProperty(value = "菜单name")
    private String name;

    @ApiModelProperty(value = "菜单名称")
    private String title;

    @ApiModelProperty(value = "文件资源位置")
    private String resource;

    @ApiModelProperty(value = "是否隐藏：0 false；1 true")
    private Integer hidden;

    @ApiModelProperty(value = "element ui图标")
    private String icon;

    @ApiModelProperty(value = "顺序")
    private Integer ord;

    @ApiModelProperty(value = "是否可用：0可用，1不可用")
    private String struts;


}
